﻿using GameView.Comment;
using System.ComponentModel.DataAnnotations;

namespace GameView.Services.Dtos.Persons
{
    public class PersonnelQueryDto : BaseQueryDto, IValidatableObject
    {
        public int RoleId { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
		/// 身份证号
		/// </summary>
		public string IdCard { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? State { get; set; }

        public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
        {
            return [];
        }
    }
}